package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type ChangeMailTransaction struct {
	itsAddress string
	abstracttransaction.ChangeMethodTransaction
}

func (ct *ChangeMailTransaction) GetMethod() Model.PaymentMethod {
	return modelimplementation.CreateMailMethod(ct.itsAddress)
}